package com.sxfans.hessian;

import com.caucho.hessian.server.HessianServlet;

public class Hello extends HessianServlet implements IHello {

	public String sayHello() {
		return "Hello world,zoomhoo again!";
	}

	public Car searchCarInfo(Car car) {
		System.out.println("server Color:"+car.getColor());
		System.out.println("server Name:"+car.getName());
		System.out.println("server Length:"+car.getLength());
		car.setColor("blue");
		car.setName("baoma"); 
		car.setLength("1000000");
		return null;
	}

}
